import DataCredibility from "@/components/DataCredibility";
import React, { useState } from "react";

const useBody = () => {
  const [body, setBody] = useState<any>({
    intelligentAuestionAnsweringNumber: {
      content: <DataCredibility />,
    },
    anomalyWarning: {
      content: <DataCredibility />,
    },
    operationParameterOptimization: {
      content: <DataCredibility />,
    },
    operationPathFindingOptimization: {
      content: <DataCredibility />,
    },
    undefined: {
      content: <></>,
    },
  });
  return {
    body,
  };
};

export default useBody;
